<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        
<%@ include file="/taglibs.jsp"%>
<jsp:directive.page import="net.spy.memcached.*"/>
<jsp:directive.page import="java.net.InetSocketAddress"/>
<%
	MemcachedClient cacheClient = new MemcachedClient(new InetSocketAddress("localhost", 11211));
	Boolean submissionsOpen = (cacheClient.get("WW_Sub_Open") != null) ? (Boolean) cacheClient.get("WW_Sub_Open") : false;
	Boolean registrationOpen = (cacheClient.get("WW_Reg_Open") != null) ? (Boolean) cacheClient.get("WW_Reg_Open") : false;
	String conID = (cacheClient.get("Curr_Con_ID") != null) ? (String) cacheClient.get("Curr_Con_ID") : "0";
	
	request.setAttribute("currentConID", conID);
	request.setAttribute("registrationOpen", registrationOpen);
	request.setAttribute("submissionsOpen", submissionsOpen);
%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title><decorator:title default="ww-demo"/></title>
	<link rel="meta" href="http://www.winterwar.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
	<meta http-equiv="pics-Label" content='(pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l gen true for "http://winterwar.org" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) gen true for "http://www.winterwar.org" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0))' />
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://www.winterwar.org" r (SS~~000 1))'>	
	<meta name="description" content="Winter War is the Midwest's longest cosecutively running independant gaming convention. We are a game-centric, no frills convention focussed on providing the maximum gaming experience possible." />
	<meta name="Keywords" content="Midwest, gaming, convention, miniatures, role playing game, role playing convention, gaming convention, little wars, advanced squad leader" />
    <c:set var="ctx" value="${pageContext.request.contextPath}" scope="request"/>
    <link href="${ctx}/styles/winterwar.css" type="text/css" rel="stylesheet"/>
    <link href="${ctx}/images/favicon.ico" rel="SHORTCUT ICON"/>
    <decorator:head/>
    <script type="text/javascript" src="${ctx }/scripts/jquery-1.3.2.min.js" language="javascript" ></script>
    <!--[if lt IE 8]>
		<style>
			.winter{float:left;}
		</style>
	<![endif]-->
</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11929520-1");
pageTracker._setDomainName(".winterwar.org");
pageTracker._trackPageview();
} catch(err) {}</script>
	<body>
		<center>
		<div style="width:1150px;">
		<div class="topContainer">
			<div>
				<img class="logoimg" src="${ctx }/images/logo_noword_small.jpg" alt="Thank you for logging in" title="Thank you for logging in" />
				<span class="winter">
				Winter</span>
				<span class="loginForm">
				<% if(session.getAttribute("userID") == null){ %>
					<html:form action="/user" focus="user.username">
						<input type="hidden" name="method" value="login"/>
						<bean:message key="user.username"/>:
						<html:text property="user.username"/>
						<bean:message key="user.password"/>:
						<html:password property="user.password"/>
						<html:submit styleClass="button">Login</html:submit><br/>
					</html:form>
					<a class="mainLink" href="user.do?method=edit">New Account</a> | <a class="mainLink" href="${ctx }/accountReminder.jsp">Forgot Username/Password?</a>
				<%} else {%>
					Welcome back, <%=session.getAttribute("userFirstName") %>! &nbsp;
					<a class="mainLink" href="${ctx }/user.do?method=edit&userID=<%=session.getAttribute("userID") %>">My Account</a> | 
					<a class="mainLink" href="mailto:rgthigpen@gmail.com">Help &amp; Support</a>
				<%} %>
				</span>	<br/>
				<span class="war">War</span><br/>
				<span class="slogan"> The Midwest's Longest Consecutively Running Independent Gaming Convention!&nbsp;</span><!--'-->
			</div>
			<div class="clear"></div>
			<div class="menu" id="menu" id="menu">
				<span class="menuItemTop"><a class="mainLink" href="/">Home</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="/about.jsp">About Winter War</a></span><br/>
				<span class="menuItemTop">Mail-In Forms:</span><br/>
				<span class="menuItemBot">-<a class="link" target="_blank" href="http://static.winterwar.org/pdfs/WW38_prereg.pdf">Pre-Registration</a></span><br/>
				<span class="menuItemBot">-<a class="link" target="_blank" href="http://static.winterwar.org/pdfs/judges_form.pdf">Judge Form</a></span><br/>
				<span class="menuItemBot">-<a class="link" target="_blank" href="http://static.winterwar.org/pdfs/dealer_form.pdf">Dealer Form</a></span><br/>
				<span class="menuItemBot">-<a class="link" target="_blank" href="http://static.winterwar.org/pdfs/ww38flyer.pdf">Promotional Flyer</a></span><br/>
				<span class="menuItemBot">-<a class="link" target="_blank" href="http://static.winterwar.org/pdfs/auction_forms.pdf">Auction Forms</a></span><br/>
				<span class="menuItemTop">Online Forms:</span><br/>
				<c:choose>
					<c:when test="${ submissionsOpen == true}">
						<span class="menuItemBot">-<a class="link" href="/event.do?method=edit&amp;conID=${currentConID }&amp;userID=<%=session.getAttribute("userID") %>">Event Submission</a></span><br/>
					</c:when>
				</c:choose>
				<c:choose>
					<c:when test="${ registrationOpen == true}">
						<span class="menuItemBot">-<a class="link" href="/registration.do?method=edit&amp;conID=${currentConID }&amp;userID=<%=session.getAttribute("userID") %>">Event Registration</a></span>
					</c:when>
				</c:choose>
				<span class="menuItemTop"><a class="mainLink" href="/events/${currentConID }">Event Listing</a></span><br/>
		
				<span class="menuItemTop"><a class="mainLink" href="/faqs.jsp">Questions</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="/history.jsp">Previous Cons</a></span><br/>
				<span class="menuItemTop">Other Stuff:</span><br/>
				<span class="menuItemBot">-<a class="link" href="/wwjudge.jsp">Judges Policies</a></span><br/>
		
				<span class="menuItemBot">-<a class="link" href="/wwdealer.jsp">Dealer Policies</a></span><br/>
				<span class="menuItemTop"><a class="mainLink" href="/links.jsp">Links</a></span><br/>
				<hr/>
				<span class="menuItemTop">Contact Us!</span><br/>
				<span class="menuItemBot"><a href="mailto:dmckinne@winterwar.org" class="link">Don McKinney (Chairman)</a></span><br/>
				<hr/>
				<% if(session.getAttribute("userID") != null) {%>
					<span class="menuItemTop"><a class="mainLink" href="/user.do?method=edit&userID=<%=session.getAttribute("userID") %>">My Information</a></span><br/>
					<span class="menuItemTop"><a class="mainLink" href="/user.do?method=logout">Logout</a></span><br/>
				<%} %>
				<%if(session.getAttribute("userLevel") != null && session.getAttribute("userLevel").toString().equals("2")){ %>
					<hr/>
					<span class="menuItemTop"><a class="mainLink" href="/wwadmin/">Admin</a></span>
					<hr/>
				<%} %>
				<form method="get" action="http://games.groups.yahoo.com/subscribe/winter_war_con">
				<table class="signUpForm">
				  <tbody>
				  	<tr>
						<td>Subscribe to <a href="http://games.groups.yahoo.com/group/winter_war_con/">Our Yahoo Group</a></td>
				  	</tr><tr>
						<td><input class="input" name="user" value="Enter E-mail Address" size="18" type="text" onfocus="if(this.value == 'Enter E-mail Address') this.value='';" onblur="if(this.value == '') this.value='Enter E-mail Address';"/></td>
					</tr><tr>
		
						<td><input alt="Click here to join winter_war_con" name="submit" src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/i/us/ui/join.gif" border="0" type="image" height="26px" width="45px"/></td>
				  	</tr>
					  <tr>
						<td>Powered by&nbsp;<a href="http://games.groups.yahoo.com/">Yahoo Groups!</a></td>
					</tr>
				   </tbody>
				</table>
				</form>
				<img src="images/13concentric.jpg" /><br/>
				<center style="font-family: Times New Roman">
					Concentric Rings Webring<br/>
					<a href="http://k.webring.com/go?ring=gamecon;sid=8;id=8&sprev">[&lt;&lt;]</a>&nbsp;<a href="http://k.webring.com/go?ring=gamecon;sid=8;id=8&prev">[&lt;]</a>&nbsp;|&nbsp;<a href="http://k.webring.com/hub?ring=gamecon;sid=8;id=8&hub">List</a>&nbsp;|&nbsp;<a href="http://k.webring.com/go?ring=gamecon;sid=8;id=8&next">[&gt;]</a>&nbsp;<a href="http://k.webring.com/go?ring=gamecon;sid=8;id=8&skip">[&gt;&gt;]</a><br/>
				</center>
				<br/>
			</div>
			<div class="content" id="content">
			</div>
			<div class="zazzle">
				<script language="javascript" src="http://www.zazzle.com/api/zp/zpanel?zp=117349564939020661"></script>
			</div>
			<div style="clear:both"></div>
			<center>
			<div class="footer" id="footer">
				<hr />
				Winter War and all it's related components are Copyrighted Winter War Gaming Convention, Inc. 2007-2008, All Rights Reserved.<br />
		
				Original Logo by <a href="mailto:mallaard@hotmail.com">Deric Phillips</a><br />
				Site design by <a href="mailto:rgthigpen@gmail.com">Royce Thigpen</a><br />
		
			</div>
			</center>
		</div>
		</div>
		</center>
	</body>
</html>
	
